<!DOCTYPE html>
<html lang="zh">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
	<meta name="keywords" content="">
	<meta name="description" content="">
	<title>RUI - Freewheel</title>
	<link rel="stylesheet" href="css/global.css"/> 
    <link rel="stylesheet" href="css/component.css"/> 
	<script type="text/javascript" src="../build/core/moca.js"></script>
</head>
 
<body>
<div id="doc">
	<div id="hd"><h1>FW.{</h1><h2>Cross-browser Rich Application Library</h2></div>
	<div id="bd">
		<div class="text-division">
			<span class="first"><a href="">render a Box</a></span>
			<div>
				RPM(Revenue & Payments Management), MRM(Monetization Rights Management)
				
			</div>
		</div>
	</div>
	<div id="ft"></div>
</div>
<script type="text/javascript">
	//模块路径配置
	Moca.ready(function(M){
		//debugger;
		M.log(1111);
		var demo = new M.Box({
			noHead: true,
			position: {
				'v': 65,
				'h': 300
			},
			//modal: true,
			body: 'of the printing and typesetting industryprinting and typesetting industryprinting and typesetting industryprinting and typesetting industryprinting and typesetting industryprinting and typesetting industry. Lorem Ipsum has been the industry\'s standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially '
			
		});
		
		$('.text-division a').click(function(e){
			e.preventDefault();
			demo.render().show();
			
		});
			
			
	},{require:['box']});

	Moca.ready(function(M){
		M.log(M);
	},{require:['tem1p']});

	Moca.ready(function(M){M.log(2)})
		
</script>

</body>
</html>
